
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<script type="text/javascript">
    var djConfig = {
        isDebug:false, parseOnLoad:false
    };
</script><%-- 
    Document   : dojo1
    Created on : 2008-11-28, 0:44:35
    Author     : kanghui
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<script type="text/javascript">
    var djConfig = {
        isDebug:false, parseOnLoad:false
    };
</script>
<style type="text/css">
    .testClass {
        background-color:red;
    }

</style>

<script src="http://192.168.1.175/dojo/dojo.js"></script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <script type="text/javascript">

            dojo.require("dijit.form.Button");
            dojo.require("dijit.TitlePane");
            dojo.require("dojo.NodeList-fx");

            dojo.addOnLoad(function(){
                test2();
            });
            function test1(){
                // our dom is ready, get the node:
                dojo.query("#testHeading")
                // add "testClass" to its class="" attribute
                .addClass("testClass")
                // and fade it out after 500 ms
                .fadeOut({ delay:2000 }).play();

            }
            function test2(){
                dojo.query(".para").addClass("testClass").fadeOut({ delay:2000 }).play();
            }

        </script>
        <h1 id="testHeading">Dojo Skeleton Page</h1>
        <a class="link" href="#">First link</a>
        <a class="link" href="#">Second Link</a>

        <p class="para">First paragraph</p>
        <p class="para">Second paragraph</p>
        <p class="para">Third paragraph</p>
        <div id="contentNode">
            <p>Some Content To Replace</p>
        </div>

    </body>
</html>


<script src="http://192.168.1.175/dojo/dojo.js"></script>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <style type="text/css">
            .log {
                top:600px;
                width:800px;
                height:200px;
                border:1px solid red  
            }
        </style>
   
        
    </head>
    <body>
       
      <div id="logInfo" class="log">
          
      </div>
    </body>
</html>
